package java.beens;

/**
 * company: www.abc.com
 * Author: Administrator
 * Create Data: 2020/12/15 0015
 进行修改
 */
public class User {
    private Integer id;
    private String name;
    private String password;
    private User parents;

    public User getParents() {
        return parents;
    }

    public void setParents(User parents) {
        this.parents = parents;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
